@charset "utf-8";

@import "common";

//轮播
.carousel_frame{
    background-color: #2b80d9;
    .caousel_pic{
        img{
            width: 100%;
            height: auto;
        }
    }
}

//引擎
.i_engine{
    background-color: #fbfaf7;
    border-bottom: 1px solid #eaeaee;
    padding-bottom: 40px !important;
    margin-top: 80px;
    margin-bottom: 89px;
    .engine_frame{
        h2{
            font-size: 48px;
            font-weight: bold;
            color: #0078d7;
        }
        .engine_desc{
            h3{
                font-size: 30px;
                margin-bottom: 77px;
                color: #666666;
            }
            .desc_content{
                .engine_list{
                    display: flex;
                    justify-content: flex-start;
                    flex-wrap: nowrap;
                    padding-right: 0;
                    a{
                        display: block;
                        flex-shrink: 0;
                        width: 64px;
                        height: 64px;
                        margin-right: 14px;
                        background-color: #0078d7;
                        border-radius: 4px;
                        padding: 8px;
                        text-align: center;
                        transition: all 1s;
                        img{
                            display: inline-block;
                            width: auto;
                            height: 100%;
                        }
                        &:hover{
                            background-color: #d8d8e0;
                            transform: rotate(360deg);
                            img{
                                transform: rotate(-360deg) !important;
                            }
                        }
                    }
                    div{
                        h4{
                            font-size: 19px;
                            margin: 0;
                            margin-bottom: 13px;
                            color: #333333;
                        }
                        p{
                            font-size: 14px;
                            line-height: 25px;
                            margin-bottom: 45px;
                            color: #666666;
                        }
                    }
                }
            }
        }
        .engine_pic{
            text-align: right;
            div{
                width: 100%;
                display: inline-block;   
                overflow: hidden;                                              
                img{
                    width: 100%;
                    height: auto;
                }
            }
        }
    }
}



//优势
.laybox_adv{
    margin-bottom: 89px;
    .adv_title{
        font-size: 48px;
        color: #8fc31f;
        font-weight: bold;
        margin-bottom: 12px;
    }
    .adv_pic{
        height: auto;
        img{
            width: 100%;
            height: auto;
            display: block;
        }
    }
    .adv_desc{
        ul{
            width: 100%;
            height: auto;
            .adv_list{
                display: flex;
                align-items: center;
                margin-top: 16px;
                padding-right: 10px;
                span{
                    display: block;
                    height: 54px;
                    width: 54px;
                    padding: 13px;
                    margin-right: 10px;
                    border-radius: 50%;
                    background-color: #8fc31f;
                    text-align: center;
                    transition: all .5s;
                    &:hover{
                        background-color: #d8d8e0;
                    }
                    img{
                        width: auto;
                        height: 100%;
                        vertical-align: middle;
                    }
                }
                p{
                    font-size: 14px;
                    color: #666666;
                }
            }
        }
    }
}

//家族
.laya_family{
    background-color: #0079d7;
    .family_content{
        padding-top: 95px;
        padding-bottom: 102px;
        .fam_title{
            font-size: 48px;
            color: #fffefe;
            text-align: center;
        }
        .family_list{
            width: 100%;
            height: auto;
            margin-bottom: 41px;
            &::after{
                content: "";
                width: 100%;
                display: block;
                clear: both;
            }
            .fam_content{
                display: flex;
                margin-top: 75px;
                .fam_pic{
                    display: inline-block;
                    flex-shrink: 0;
                    height: 66px;
                    width: 66px;
                    margin-right: 60px;
                    img{
                        width: 100%;
                        height: auto;
                    }
                }
                .fam_desc{
                    h4{
                        font-size: 33px;
                        color: #fffefe;
                        margin: 0;
                        margin-bottom: 15px;
                        margin-top: -7px;
                        
                    }
                    p{
                        font-size: 14px;
                        line-height: 30px;
                        color: #fffefe;
                    }
                }
            }
        }
    }
}


//更多游戏
.laya_game{
    padding-top: 50px;
    text-align: center;
    .game_title{
        width: 100%;
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        align-items: center;    
        h3{
            font-size: 35PX;
            color: #2a2a2a;
        }
        span{
            font-size: 14px;
            color: #2a2a2a;
        }
    }
    .game_list{
        &::after{
            content: "";
            display: block;
            width: 100%;
            clear: both;
        }
        .game_video{
            padding-right: 3.5%;
            img{
                width: 100%;
                height: auto;
                display: block;
            }
        }
        .game_pic{
            padding-left: 1.4%;
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            .game_select{
                width: 67px;
                margin-right: 3%;
                text-align: center;
                height: auto;
                &:nth-child(6n){
                    margin-right: 0;
                }
                dt{
                    display: inline-block;
                    width: 67px;
                    height: 67px;
                    border-radius: 10px;
                    overflow: hidden;
                    margin-bottom: 7px;
                    img{
                        width: 100%;
                        height: 100%;
                        display: block;
                    }
                }
                dd{
                    font-size: 14px;
                    text-align: center;
                    color: #2a2a2a;
                }
            }
        }
        
    }
    .game_more{
        display: none;
        width: auto;
        padding: 5px 10px;
        text-align: center;
        height: 30px;
        line-height: 20px;
        font-size: 17px;
        border: 1px solid #2a2a2a;
        border-radius: 5px;
        
    }
}

//合作伙伴
.partner_frame{
    background-color: #f4f4f4;
    .partner{
        
        h3{
            font-size: 30px;
            color: #2a2a2a;
            span{
                font-size: 11px;
                color: #777777;
                vertical-align: bottom;
            }
        }
        .partner_list{
            margin-bottom: 65px;
            text-align: center;
            &::after{
                content: "";
                display: block;
                clear: both;
            }
            .partner_content{
                padding: 0;
                display: inline-block;
                margin-top: 20px;
                div{
                    display: inline-block;
                   width: 150px; 
                   height: 66px;
                   border: 1px solid #ddd;
                   border-radius: 3px;
                   img{
                       height: 100%;
                       width: 100%;
                       display: block;
                   }
                }
            }
        }
    }
}


@media (max-width: 1031px){
    .container {
        width: auto !important;
    }
}


@media (max-width:992px){
    h2,h3{
        text-align: center !important;  
        margin-left: 0 !important;
    }
    .adv_title{
        padding: 0 15px !important;
    }
}

@media (max-width:992px){
    .engine_pic{
        div{
           img{
               width: 50% !important;
           }
        }
    }
    //优势
    .adv_pic{
        img{
            width: 50% !important;
        }
    }
    
    .adv_desc{
        ul{
            width: auto !important; 
        }
        display: flex;
        justify-content: space-between;
        .hid_box{
            display: block;
            height: 1px;
            width: 1px;
        }
    }
    .fam_content{
        flex-flow: column;
        align-items: center;
        .fam_pic{
            margin-right: 0 !important;
            margin-bottom: 25px;
        }
        .fam_desc{
            h4{
                text-align: center; 
            }
            p{
                text-align: center;
            }
        }
    }
}

//更多游戏
@media (max-width:990px){
    .laya_game{
        .game_title{
            justify-content: center;
            margin-bottom: 15px;
        }
        .game_list{
            .game_video{
                padding-right: 0;
            }
            .game_pic{
                padding-left: 0;
                dl{
                    margin-top: 20px;
                    margin-right: 0 !important; 
                    flex-basis: 15%;
                    dd{
                        font-size: 18px !important;
                    }
                }
            }
        }
        .game_title{  
            span{
                display: none !important;
            }
        }
        .game_more{
            display: inline-block;
        }
    }
}
@media (max-width:450px){
    .laya_game{
        .game_list{
            .game_pic{
                dl{
                    flex-basis: 33.3%;
                }
            }
        }
    }
}

//合作伙伴

@media (max-width:400px){
        .partner_content{
            div{
               width: 120px !important; 
               height: 46px !important;
            }
        }
}
